const path = require("path"); // path是用来做路径解析的

console.log(path.resolve("./"));
console.log(__dirname); // 当前目录
console.log(__filename);
console.log(path.extname("./xx.jpg"));

const os = require("os");
console.log(os.cpus());
